export const id = (e) => e;
export function noop() { }
export function deepCopy(o) {
    return JSON.parse(JSON.stringify(o));
}
export function firstArg(fn) {
    return (v) => fn(v);
}
export function reverseArg(fn) {
    return (...v) => fn([...v].reverse());
}
export function lastArg(fn) {
    return (...v) => fn(v[v.length - 1]);
}
